/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package B3D_Elements.Others;

import B3D_Elements.B3D_Element;
import java.io.Serializable;
import java.util.UUID;

/**
 *
 * @author David
 */
public class B3D_MotionEvent extends B3D_Element implements Serializable
{

    private Object objectID;
    private B3D_MotionPath motionPath;

    public enum Cam
    {

        CAM
    };

    public B3D_MotionEvent(String _name, UUID movingObjectID, B3D_MotionPath path)
    {
        setName(_name);
        if (movingObjectID == null)
        {
            objectID = Cam.CAM;
        } else
        {
            objectID = movingObjectID;
        }
        motionPath = path;
    }

    public Object getObject()
    {
        return objectID;
    }

    public void setObject(Object object)
    {
        this.objectID = object;
    }

    public B3D_MotionPath getMotionPath()
    {
        return motionPath;
    }

    public void setMotionPath(B3D_MotionPath motionPath)
    {
        this.motionPath = motionPath;
    }
}
